package com.example.rk.mapper;

import com.example.rk.entity.*;
import org.apache.ibatis.annotations.*;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface WordCountMapper {
    @Select("select * from wordcount")
    List<WordCount> getcount1();
    @Select("select * from wordcount1")
    List<WordCount> getcount2();
    @Select("select * from wordcount2")
    List<WordCount> getcount3();
    @Select("select * from wordcount3")
    List<WordCount> getcount4();
    @Delete("delete from wordcount where 1=1")
    void del0();
    @Delete("delete from wordcount1 where 1=1")
    void del1();
    @Delete("delete from wordcount2 where 1=1")
    void del2();
    @Delete("delete from wordcount3 where 1=1")
    void del3();
    @Select("select * from wordcount5")
    List<WordCount> getcount5();
}
